package mycharstream;

import java.io.FileWriter;
import java.io.IOException;

public class demo3 {
    public static void main(String[] args) throws IOException {
        //创建对象
        FileWriter fw = new FileWriter("csb.txt",true);
        //读取数据
//        fw.write(97);
//        fw.close();
        //换行符

        char[]chars = {'a','i','你','哟'};
        fw.write(chars);
        //fw.write("\r\n");
        //fw.write("张德明太帅啦");
        fw.close();
    }
}
